<!doctype html>
<html class="no-js" lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
    <title>Builder</title>
<link href="../../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../../../";</script>
    <script>document.documentElement.classList.replace("no-js", "js");</script>
    <script>const storage = localStorage.getItem("dokka-dark-mode")
      if (storage == null) {
        const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
        if (osDarkSchemePreferred === true) {
          document.getElementsByTagName("html")[0].classList.add("theme-dark")
        }
      } else {
        const savedDarkMode = JSON.parse(storage)
        if (savedDarkMode === true) {
          document.getElementsByTagName("html")[0].classList.add("theme-dark")
        }
      }
    </script>
<script type="text/javascript" src="https://unpkg.com/kotlin-playground@1/dist/playground.min.js" async></script>
<script type="text/javascript" src="../../../../../scripts/sourceset_dependencies.js" async></script>
<link href="../../../../../styles/style.css" rel="Stylesheet">
<link href="../../../../../styles/main.css" rel="Stylesheet">
<link href="../../../../../styles/prism.css" rel="Stylesheet">
<link href="../../../../../styles/logo-styles.css" rel="Stylesheet">
<link href="../../../../../ui-kit/ui-kit.min.css" rel="Stylesheet">
<script type="text/javascript" src="../../../../../scripts/safe-local-storage_blocking.js"></script>
<script type="text/javascript" src="../../../../../scripts/navigation-loader.js" async></script>
<script type="text/javascript" src="../../../../../scripts/platform-content-handler.js" async></script>
<script type="text/javascript" src="../../../../../scripts/main.js" defer></script>
<script type="text/javascript" src="../../../../../scripts/prism.js" async></script>
<script type="text/javascript" src="../../../../../ui-kit/ui-kit.min.js" defer></script></head>
<body>
<div class="root">
    <header class="navigation theme-dark" id="navigation-wrapper" role="banner">
<a class="library-name--link" href="../../../../../index.html" tabindex="1">
                    stripe-android
            </a>        <button class="navigation-controls--btn navigation-controls--btn_toc ui-kit_mobile-only" id="toc-toggle" type="button">Toggle table of contents
        </button>
        <div class="navigation-controls--break ui-kit_mobile-only"></div>
        <div class="library-version" id="library-version">
        </div>
        <div class="navigation-controls">
        <ul class="filter-section filter-section_loading" id="filter-section" aria-label="Target filter">
                <button class="platform-tag platform-selector jvm-like" data-active="" aria-pressed="true" data-filter=":paymentsheet/main">androidJvm</button>
            <div class="dropdown filter-section--dropdown" data-role="dropdown" id="filter-section-dropdown">
                <button class="button button_dropdown filter-section--dropdown-toggle" role="combobox" data-role="dropdown-toggle" aria-controls="platform-tags-listbox" aria-haspopup="listbox" aria-expanded="false" aria-label="Toggle source sets"></button>
                <ul role="listbox" id="platform-tags-listbox" class="dropdown--list" data-role="dropdown-listbox" aria-label="Target filter">
                    <div class="dropdown--header"><span>Target filter</span>
                        <button class="button" data-role="dropdown-toggle" aria-label="Close target filter">
                            <i class="ui-kit-icon ui-kit-icon_cross"></i>
                        </button>
                    </div>
                        <li role="option" class="dropdown--option platform-selector-option jvm-like" tabindex="0">
                            <label class="checkbox">
                                <input type="checkbox" class="checkbox--input" id=":paymentsheet/main" data-filter=":paymentsheet/main">
                                <span class="checkbox--icon"></span>
                                androidJvm
                            </label>
                        </li>
                </ul>
                <div class="dropdown--overlay"></div>
            </div>
        </ul>
            <button class="navigation-controls--btn navigation-controls--btn_theme" id="theme-toggle-button" type="button">Switch theme
            </button>
            <div class="navigation-controls--btn navigation-controls--btn_search" id="searchBar" role="button">Search in
                API
            </div>
        </div>
    </header>
    <div id="container">
        <nav id="leftColumn" class="sidebar" data-item-type="SECTION" data-item-config="{&quot;defaultSize&quot;: 280, &quot;minSize&quot;: 200, &quot;maxSize&quot;: 400}">
            <a class="toc--skip-link" href="#main">Skip to content</a>
            <div class="dropdown theme-dark_mobile" data-role="dropdown" id="toc-dropdown">
                <ul role="listbox" id="toc-listbox" class="dropdown--list dropdown--list_toc-list" data-role="dropdown-listbox" aria-label="Table of contents">
                    <div class="dropdown--header">
                            <span>
                                    stripe-android
                            </span>
                        <button class="button" data-role="dropdown-toggle" aria-label="Close table of contents">
                            <i class="ui-kit-icon ui-kit-icon_cross"></i>
                        </button>
                    </div>
                    <div class="sidebar--inner" id="sideMenu"></div>
                </ul>
                <div class="dropdown--overlay"></div>
            </div>
        </nav>
        <div id="resizer" class="resizer" data-item-type="BAR"></div>
        <div id="main" data-item-type="SECTION" role="main">
<div class="main-content" data-page-type="classlike" id="content" pageids="paymentsheet::com.stripe.android.paymentelement/EmbeddedPaymentElement.Configuration.Builder///PointingToDeclaration//-1685933200">
  <div class="breadcrumbs"><a href="../../../../index.html">paymentsheet</a><span class="delimiter">/</span><a href="../../../index.html">com.stripe.android.paymentelement</a><span class="delimiter">/</span><a href="../../index.html">EmbeddedPaymentElement</a><span class="delimiter">/</span><a href="../index.html">Configuration</a><span class="delimiter">/</span><span class="current">Builder</span></div>
  <div class="cover ">
    <h1 class="cover"><span><span>Builder</span></span></h1>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">class </span><a href="index.html">Builder</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">merchantDisplayName<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span></div></div></div>
  </div>
  <div class="tabbedcontent">
    <div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="CONSTRUCTOR,TYPE,PROPERTY,FUNCTION">Members</button></div>
    <div class="tabs-section-body">
      <div data-togglable="CONSTRUCTOR">
        <h2 class="tableheader">Constructors</h2>
        <div class="table"><a data-name="244232334%2FConstructors%2F-1685933200" anchor-label="Builder" id="244232334%2FConstructors%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-togglable="CONSTRUCTOR" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="-builder.html"><span><span>Builder</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="244232334%2FConstructors%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">constructor</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">merchantDisplayName<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span></div></div></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div data-togglable="FUNCTION">
        <h2 class="tableheader">Functions</h2>
        <div class="table"><a data-name="-1281704526%2FFunctions%2F-1685933200" anchor-label="allowsDelayedPaymentMethods" id="-1281704526%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="allows-delayed-payment-methods.html"><span>allows</span><wbr><span>Delayed</span><wbr><span>Payment</span><wbr><span><span>Methods</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1281704526%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="allows-delayed-payment-methods.html"><span class="token function">allowsDelayedPaymentMethods</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">allowsDelayedPaymentMethods<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html">Boolean</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">If true, allows payment methods that do not move money at the end of the checkout. Defaults to false.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1820457972%2FFunctions%2F-1685933200" anchor-label="allowsPaymentMethodsRequiringShippingAddress" id="1820457972%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="allows-payment-methods-requiring-shipping-address.html"><span>allows</span><wbr><span>Payment</span><wbr><span>Methods</span><wbr><span>Requiring</span><wbr><span>Shipping</span><wbr><span><span>Address</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1820457972%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="allows-payment-methods-requiring-shipping-address.html"><span class="token function">allowsPaymentMethodsRequiringShippingAddress</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">allowsPaymentMethodsRequiringShippingAddress<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html">Boolean</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">If <code class="lang-kotlin">true</code>, allows payment methods that require a shipping address, like Afterpay and Affirm. Defaults to <code class="lang-kotlin">false</code>.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-557823129%2FFunctions%2F-1685933200" anchor-label="allowsRemovalOfLastSavedPaymentMethod" id="-557823129%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="allows-removal-of-last-saved-payment-method.html"><span>allows</span><wbr><span>Removal</span><wbr><span>Of</span><wbr><span>Last</span><wbr><span>Saved</span><wbr><span>Payment</span><wbr><span><span>Method</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-557823129%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="allows-removal-of-last-saved-payment-method.html"><span class="token function">allowsRemovalOfLastSavedPaymentMethod</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">allowsRemovalOfLastSavedPaymentMethod<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html">Boolean</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1388883238%2FFunctions%2F-1685933200" anchor-label="appearance" id="1388883238%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="appearance.html"><span><span>appearance</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1388883238%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="appearance.html"><span class="token function">appearance</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">appearance<span class="token operator">: </span><a href="../../../../com.stripe.android.paymentsheet/-payment-sheet/-appearance/index.html">PaymentSheet.Appearance</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">Describes the appearance of the embedded payment element.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-273240862%2FFunctions%2F-1685933200" anchor-label="billingDetailsCollectionConfiguration" id="-273240862%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="billing-details-collection-configuration.html"><span>billing</span><wbr><span>Details</span><wbr><span>Collection</span><wbr><span><span>Configuration</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-273240862%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="billing-details-collection-configuration.html"><span class="token function">billingDetailsCollectionConfiguration</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">billingDetailsCollectionConfiguration<span class="token operator">: </span><a href="../../../../com.stripe.android.paymentsheet/-payment-sheet/-billing-details-collection-configuration/index.html">PaymentSheet.BillingDetailsCollectionConfiguration</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">Describes how billing details should be collected. All values default to <code class="lang-kotlin">automatic</code>. If <code class="lang-kotlin">never</code> is used for a required field for the Payment Method used during checkout, you <strong>must</strong> provide an appropriate value as part of <a href="default-billing-details.html">defaultBillingDetails</a>.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1871895133%2FFunctions%2F-1685933200" anchor-label="build" id="-1871895133%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="build.html"><span><span>build</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1871895133%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="build.html"><span class="token function">build</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html">EmbeddedPaymentElement.Configuration</a></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1226231720%2FFunctions%2F-1685933200" anchor-label="cardBrandAcceptance" id="1226231720%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="card-brand-acceptance.html"><span>card</span><wbr><span>Brand</span><wbr><span><span>Acceptance</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1226231720%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="card-brand-acceptance.html"><span class="token function">cardBrandAcceptance</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">cardBrandAcceptance<span class="token operator">: </span><a href="../../../../com.stripe.android.paymentsheet/-payment-sheet/-card-brand-acceptance/index.html">PaymentSheet.CardBrandAcceptance</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">By default, the payment element will accept all supported cards by Stripe. You can specify card brands that should block or allow payments for by providing a list of those card brands. <strong>Note</strong>: This is only a client-side solution. <strong>Note</strong>: Card brand filtering is not currently supported in Link.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="46020765%2FFunctions%2F-1685933200" anchor-label="customer" id="46020765%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="customer.html"><span><span>customer</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="46020765%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="customer.html"><span class="token function">customer</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">customer<span class="token operator">: </span><a href="../../../../com.stripe.android.paymentsheet/-payment-sheet/-customer-configuration/index.html">PaymentSheet.CustomerConfiguration</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">If set, the customer can select a previously saved payment method.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="302018163%2FFunctions%2F-1685933200" anchor-label="customPaymentMethods" id="302018163%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="custom-payment-methods.html"><span>custom</span><wbr><span>Payment</span><wbr><span><span>Methods</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="302018163%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="custom-payment-methods.html"><span class="token function">customPaymentMethods</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">customPaymentMethods<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><a href="../../../../com.stripe.android.paymentsheet/-payment-sheet/-custom-payment-method/index.html">PaymentSheet.CustomPaymentMethod</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">Configuration related to custom payment methods.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1605756796%2FFunctions%2F-1685933200" anchor-label="defaultBillingDetails" id="-1605756796%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="default-billing-details.html"><span>default</span><wbr><span>Billing</span><wbr><span><span>Details</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1605756796%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="default-billing-details.html"><span class="token function">defaultBillingDetails</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">defaultBillingDetails<span class="token operator">: </span><a href="../../../../com.stripe.android.paymentsheet/-payment-sheet/-billing-details/index.html">PaymentSheet.BillingDetails</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">The billing information for the customer.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="2005873505%2FFunctions%2F-1685933200" anchor-label="embeddedViewDisplaysMandateText" id="2005873505%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="embedded-view-displays-mandate-text.html"><span>embedded</span><wbr><span>View</span><wbr><span>Displays</span><wbr><span>Mandate</span><wbr><span><span>Text</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2005873505%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="embedded-view-displays-mandate-text.html"><span class="token function">embeddedViewDisplaysMandateText</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">embeddedViewDisplaysMandateText<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html">Boolean</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">Controls whether the view displays mandate text at the bottom for payment methods that require it.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1586266204%2FFunctions%2F-1685933200" anchor-label="externalPaymentMethods" id="1586266204%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="external-payment-methods.html"><span>external</span><wbr><span>Payment</span><wbr><span><span>Methods</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1586266204%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="external-payment-methods.html"><span class="token function">externalPaymentMethods</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">externalPaymentMethods<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">External payment methods to display.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-836481512%2FFunctions%2F-1685933200" anchor-label="formSheetAction" id="-836481512%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="form-sheet-action.html"><span>form</span><wbr><span>Sheet</span><wbr><span><span>Action</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-836481512%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="form-sheet-action.html"><span class="token function">formSheetAction</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">formSheetAction<span class="token operator">: </span><a href="../../-form-sheet-action/index.html">EmbeddedPaymentElement.FormSheetAction</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">The view can display payment methods like "Card" that, when tapped, open a sheet where customers enter their payment method details. The sheet has a button at the bottom. <a href="form-sheet-action.html">formSheetAction</a> controls the action the button performs.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="581962589%2FFunctions%2F-1685933200" anchor-label="googlePay" id="581962589%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="google-pay.html"><span>google</span><wbr><span><span>Pay</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="581962589%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="google-pay.html"><span class="token function">googlePay</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">googlePay<span class="token operator">: </span><a href="../../../../com.stripe.android.paymentsheet/-payment-sheet/-google-pay-configuration/index.html">PaymentSheet.GooglePayConfiguration</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">Configuration related to the Stripe Customer making a payment.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-741665274%2FFunctions%2F-1685933200" anchor-label="link" id="-741665274%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="link.html"><span><span>link</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-741665274%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="link.html"><span class="token function">link</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">link<span class="token operator">: </span><a href="../../../../com.stripe.android.paymentsheet/-payment-sheet/-link-configuration/index.html">PaymentSheet.LinkConfiguration</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">Configuration related to Link.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1752838680%2FFunctions%2F-1685933200" anchor-label="opensCardScannerAutomatically" id="1752838680%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="opens-card-scanner-automatically.html"><span>opens</span><wbr><span>Card</span><wbr><span>Scanner</span><wbr><span><span>Automatically</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1752838680%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="opens-card-scanner-automatically.html"><span class="token function">opensCardScannerAutomatically</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">opensCardScannerAutomatically<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html">Boolean</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">By default, the embedded payment element offers a card scan button within the new card entry form. When opensCardScannerAutomatically is set to true, the card entry form will initialize with the card scanner already open.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1951903028%2FFunctions%2F-1685933200" anchor-label="paymentMethodOrder" id="-1951903028%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="payment-method-order.html"><span>payment</span><wbr><span>Method</span><wbr><span><span>Order</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1951903028%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="payment-method-order.html"><span class="token function">paymentMethodOrder</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">paymentMethodOrder<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">By default, Stripe will use a dynamic ordering that optimizes payment method display for the customer. You can override the default order in which payment methods are displayed with a list of payment method types.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="831589232%2FFunctions%2F-1685933200" anchor-label="preferredNetworks" id="831589232%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="preferred-networks.html"><span>preferred</span><wbr><span><span>Networks</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="831589232%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="preferred-networks.html"><span class="token function">preferredNetworks</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">preferredNetworks<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><a href="../../../../../payments-model/com.stripe.android.model/-card-brand/index.html">CardBrand</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">A list of preferred networks that should be used to process payments made with a co-branded card if your user hasn't selected a network themselves.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="174146427%2FFunctions%2F-1685933200" anchor-label="primaryButtonLabel" id="174146427%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="primary-button-label.html"><span>primary</span><wbr><span>Button</span><wbr><span><span>Label</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="174146427%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="primary-button-label.html"><span class="token function">primaryButtonLabel</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">primaryButtonLabel<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">The label to use for the primary button.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="211117776%2FFunctions%2F-1685933200" anchor-label="shippingDetails" id="211117776%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="shipping-details.html"><span>shipping</span><wbr><span><span>Details</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="211117776%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="shipping-details.html"><span class="token function">shippingDetails</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">shippingDetails<span class="token operator">: </span><a href="../../../../com.stripe.android.paymentsheet.addresselement/-address-details/index.html">AddressDetails</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">The shipping information for the customer. If set, form fields will be pre populated with the values provided. This is used to display a "Billing address is same as shipping" checkbox if <code class="lang-kotlin">defaultBillingDetails</code> is not provided. If <code class="lang-kotlin">name</code> and <code class="lang-kotlin">line1</code> are populated, it's also <a href="https://stripe.com/docs/api/payment_intents/object#payment_intent_object-shipping">attached to the PaymentIntent</a> during payment.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1827470861%2FFunctions%2F-1685933200" anchor-label="termsDisplay" id="1827470861%2FFunctions%2F-1685933200" data-filterable-set=":paymentsheet/main"></a>
          <div class="table-row table-row_content" data-filterable-current=":paymentsheet/main" data-filterable-set=":paymentsheet/main">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="terms-display.html"><span>terms</span><wbr><span><span>Display</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1827470861%2FFunctions%2F-1685933200"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":paymentsheet/main"><div class="symbol monospace"><span class="token keyword">fun </span><a href="terms-display.html"><span class="token function">termsDisplay</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">termsDisplay<span class="token operator">: </span><a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html">Map</a><span class="token operator">&lt;</span><a href="../../../../../payments-core/com.stripe.android.model/-payment-method/-type/index.html">PaymentMethod.Type</a><span class="token punctuation">, </span><a href="../../../../com.stripe.android.paymentsheet/-payment-sheet/-terms-display/index.html">PaymentSheet.TermsDisplay</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">EmbeddedPaymentElement.Configuration.Builder</a></div><div class="brief "><p class="paragraph">A map for specifying when legal agreements are displayed for each payment method type. If the payment method is not specified in the list, the TermsDisplay value will default to automatic.</p></div></div></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
    <div class="footer">
        <div class="footer--container">
            <a href="#content" id="go-to-top-link" class="footer--button footer--button_go-to-top"></a>
            <div class="footer--content">
                <div>
                    <span>Generated by </span>
                    <a class="footer--link footer--link_external" href="https://github.com/Kotlin/dokka">
                        Dokka
                    </a>
                    <div>© 2025 Copyright</div>
                </div>
            </div>
        </div>
    </div>
        </div>
    </div>
</div>
</body>
</html>